package com.cloudkinto.bo.stock;

import com.cloudkinto.bo.common.BaseQueryBo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Collection;
import java.util.List;

/**
 * @author long
 */
@Data
public class ProductStockBySkuQueryBo extends BaseQueryBo {

    @ApiModelProperty("导出勾选数据的伪id,数据为whId%companyId%productId%stockAttribute")
    private List<String> stockLinkIds;

    @ApiModelProperty(value = "公司id")
    private List<Long> companyIdList;

    @ApiModelProperty(value = "仓库id")
    private List<Long> whIdList;

    @ApiModelProperty(value = "库存属性 0正 1次")
    private Integer stockAttribute;

    @ApiModelProperty(value = "区间查询类型 1总库存 2可用库存 3锁定库存")
    private Integer rangeType;

    @ApiModelProperty(value = "最小数量")
    private Integer mixNum;

    @ApiModelProperty(value = "最大数量")
    private Integer maxNum;

    @ApiModelProperty(value = "产品分类")
    private List<Long> categoryIdList;

    @ApiModelProperty(value = "sku精确")
    private String sku;

    @ApiModelProperty(value = "sku模糊")
    private String skuLike;

    @ApiModelProperty(value = "spu精确")
    private String spu;

    @ApiModelProperty(value = "spu模糊")
    private String spuLike;

    @ApiModelProperty(value = "janCode精确")
    private String janCode;

    @ApiModelProperty(value = "janCode模糊")
    private String janCodeLike;

    @ApiModelProperty(value = "产品名称模糊")
    private String productNameLike;

    @ApiModelProperty(value = "多模糊查询")
    private String fuzzyQuery;

    @ApiModelProperty(value = "是否隐藏0库存数据")
    private Boolean hideZeroStock;

    private Collection<Long> productIds;

    private Boolean isAdd;
}
